#ifndef DIALOGSALESEDITOR_H
#define DIALOGSALESEDITOR_H

#if QT_VERSION >= 0x050000
#include <QtWidgets/QDialog>
#else
#include <QtGui/QDialog>
#include "../common/sellermodel.h"
#endif



namespace Ui {
class DialogSalesEditor;
}

class DialogSalesEditor : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogSalesEditor(QWidget *parent = 0);
    void setSellerModel(SellerModel* model);
    ~DialogSalesEditor();

public slots:
    void setPosFileName(const QString & fileName);
    
protected:
    void changeEvent(QEvent *e);
    
private slots:
    void on_buttonBox_accepted();

private:
    Ui::DialogSalesEditor *ui;
};

#endif // DIALOGSALESEDITOR_H
